package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 后台微信消息模板库表
 * </p>
 *
 * @author WEN
 * @since 2023-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjAdmWxTemplate对象", description="后台微信消息模板库表")
public class ZjAdmWxTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主健ID")
    private Long id;

    @ApiModelProperty(value = "模板库中模板的编号，有“TM**”和“OPENTMTM**”等形式,对于类目模板，为纯数字ID")
    private String templateIdShort;

    @ApiModelProperty(value = "标题")
    private String name;

    @ApiModelProperty(value = "所属类目")
    private String category;

    @ApiModelProperty(value = "场景说明")
    private String remark;

    @ApiModelProperty(value = "应用模块")
    private String module;

    @ApiModelProperty(value = "接收角色")
    private String role;

    @ApiModelProperty(value = "示例内容消息")
    private String example;

    @ApiModelProperty(value = "是否禁用：0-否，1-是")
    @TableField("is_disabled")
    private Boolean disabled;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date gmtUpdate;


}
